package principle.lsp.code.after;

/**
 * Square
 *
 * @author l56jq
 * @since 2023/11/6 17:02
 */
public class Square implements Quadrilateral {

    private double size;

    public double getSize() {
        return size;
    }

    public void setSize(double size) {
        this.size = size;
    }

    @Override
    public double getLength() {
        return size;
    }

    @Override
    public double getWidth() {
        return size;
    }
}
